package org.dromara.patrol.dubbo;

import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.util.ObjUtil;
import com.google.common.collect.Lists;
import io.seata.spring.annotation.GlobalTransactional;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.DubboReference;
import org.apache.dubbo.config.annotation.DubboService;
import org.dromara.common.core.enums.patrol.snap.InspectStatus;
import org.dromara.common.core.exception.patrol.PatrolSnapFrameExtractionException;
import org.dromara.frame.api.RemoteFrameService;
import org.dromara.frame.api.domain.FrameImage;
import org.dromara.patrol.api.RemotePatrolReportService;
import org.dromara.patrol.api.RemotePatrolSnapLogicService;
import org.dromara.patrol.api.domain.bo.RemotePatrolSnapBo;
import org.dromara.patrol.domain.PatrolSnapImg;
import org.dromara.patrol.service.IPatrolReportService;
import org.dromara.patrol.service.IPatrolSnapImgService;
import org.dromara.patrol.service.IPatrolSnapPlanService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;

@Slf4j
@RequiredArgsConstructor
@Service
@DubboService
public class RemotePatrolReportServiceImpl implements RemotePatrolReportService {


    private final IPatrolReportService patrolReportService;


    /**
     * 删除巡店报告
     *
     * @param storeId
     * @return
     */
    @Override
    public void deletePatrolReport(Long storeId) {
        patrolReportService.deletePatrolReport(storeId);
    }
}
